import 'package:talk/home/LocaleProvider.dart';

class AppLocale {

  // 语言映射表
  static const Map<String, Map<String, String>> _localizedValues = {
    'zh': {


      'm_xinxiaoxi' : '新消息',
      'm_xinxiaoxidata' : '打开消息列表',


      'd_zaixian' : '在线',
      'd_lixian' : '离线',
      'd_shipinbofangcuowu' : '视频播放错误：',
      'd_weizhicuowu' : '未知错误',
      'd_shipinchuhsihaushibai' : '视频初始化失败',
      'd_shipinjiazaishibai' : '视频加载失败',
      'd_huoquyonghuyichang' : '获取用户数据异常',
      'd_jiazaishibai' : '加载失败：',
      'd_jiazaishujushibai' : '加载设备信息失败',
      'd_chongshi' : '重试',
      'd_fangda' : '放大',
      'd_jieping' : '截屏',
      'd_duijiang' : '对讲',
      'd_luping' : '录屏',
      'd_shezhi' : '设置',
      'd_kaisuo' : '开锁',
      'd_zhengzaihujiao' : '正在呼叫：',
      'd_zhengzaibaochunjietu' : '正在保存截图...',
      'd_jiepinquyuweizhunbeihao' : '截屏区域未准备好',
      'd_wufahuoqutuxiangshuju' : '无法获取图像数据',
      'd_jiepinshujuweikong' : '截图数据为空',
      'd_buzhidchipingtai' : '不支持的平台',
      'd_wenjianbaochunweihbai' : '文件保存失败',
      'd_jietubaochunchenggongdata' : '截图保存成功，可在相册查看',
      'd_jietubaochunchenggonggexxin' : '截图已保存，相册将稍后更新',
      'd_jietubaochunchenggong' : '截图保存成功',
      'd_jietubaochunshibai' : '截图保存失败',
      'd_kaisuoxinxiyifasong' : '开锁消息已发送',
      'd_kaihuifang' : '卡回放',
      'd_jiazaishebeixinxishibai' : '加载设备信息失败',
      'd_chognshi' : '重试',
      'd_jietu' : '截图',
      'd_jianji' : '剪辑',
      'd_quanping' : '全屏',
      'd_zanting' : '暂停',
      'd_bofang' : '播放',
      'd_fangkehujiao2' : '访客呼叫',
      'd_yidongzhence2' : '移动侦测',
      'd_meitian' : '每天',
      'd_zhoumo' : '周末',
      'd_shijianduan' : '时间段',
      'd_baocun' : '保存',
      'd_chongfu' : '重复',
      'd_kaishishijain' : '开始时间',
      'd_jieshushijain' : '结束时间',
      'd_xiaoxi' : '消息',
      'd_youxiaoqi' : '有效期',
      'd_yongjiuyouxiao' : '永久有效',
      'd_xuanzheriqi' : '选择日期',
      'd_weixuanzhe' : '未选择',
      'd_saomatianjia' : '扫码添加',
      'd_tianjiashebei' : '添加设备',
      'd_weishibieerweima' : '未识别到二维码',
      'd_shibieshibai' : '识别失败',
      'd_duizhunerweimashibei' : '对准二维码/条码进行识别',
      'd_duizhunerweimashibeidata' : '请扫描设备上的二维码进行添加',
      'd_shoudiantong' : '手电筒',
      'd_xiangce' : '相册',
      'd_tianjiashebei2' : '添加设备',
      'd_peiwangzhuangtai' : '配网状态',
      'd_tianjiashechuyu' : '正在搜索附近的设备，请确保设备处于 ',
      'd_shoudongtianjia' : '手动添加',
      'd_zhinnegshexinagji' : '智能摄像机',
      'd_zhinengmenling' : '智能门铃',
      'd_zhinengmenjinji' : '智能门禁机',
      'd_zhinengshineiji' : '智能室内机',
      'd_sdzhinnegshexinagji' : '手动添加智能摄像机',
      'd_sdzhinengmenling' : '手动添加智能门铃',
      'd_sdzhinengmenjinji' : '手动添加智能门禁机',
      'd_sdzhinengshineiji' : '手动添加智能室内机',
      'd_sdshebei' : '手动添加设备',
      'd_youxianpeiwang' : '有线配网',
      'd_wifipeiwang' : 'WIFI配网',
      'd_xiayibu' : '下一步',
      'd_chongzhishebei' : '重置设备',
      'd_chongzhishebeidata' : '将设备连接电源，并于家庭路由器相连，使手机和\n网关在同一网络下，'
          '确认指示灯常亮。',
      'd_jietongdianyuandata' : '接通电源，确认指示灯在快闪或听到指示音',
      'd_wifidata' : '如果你的WiFi是5GHz的，请先设置为2.4GHz\n',
      'd_luyoufangfa' : '常见路由的设置方法',


      'd_shebeishezhi' : '设备设置',
      'd_xiugaishebeiming' : '修改设备名',
      'd_shebeixinxi' : '设备信息',
      'd_banbengengxin' : '版本更新',
      'd_baojindhezhi' : '报警设置',
      'd_bendicunchu' : '本地存储',
      'd_zhiliansuoshrzhi' : '直连锁设置',
      'd_duijiangshezhi' : '对讲设置',
      'd_genduoshezhi' : '更多设置',
      'd_yichushebei' : '移除设备',
      'd_yichushebeichenggong' : '移除成功',
      'd_yichushebeishibai' : '移除失败',
      'd_chaoshihuosheibai' : '操作超时或失败',
      'd_yichushebeiData' : '移除设备后将无法使用其功能\n确定继续？',
      'd_shebeixinghao' : '设备型号',
      'd_hujiaodizhi' : '呼叫地址',
      'd_ipdizhi' : 'IP地址',
      'd_macdizhi' : 'MAC地址',
      'd_shebbeierweima' : '设备二维码',
      'd_shebbeiwangluo' : '设备网络',
      'd_cunchukongjian' : '存储空间',
      'd_kong' : '空',
      'd_shengyukongjian' : '(剩余/总空间)',
      'd_yunxingshijian' : '运行时间',
      'd_zaixianshijian' : '在线时间',
      'd_banbenxinxi' : '版本信息',
      'd_jianchagengxin' : '检查更新',
      'd_yishizuixinbanben' : '已是最新版本',
      'd_baojingshezhi' : '报警设置',
      'd_weizhi' : '未知',
      'd_iobaojing' : 'IO报警',
      'd_changgui' : '常规',
      'd_lvxing' : '旅行',
      'd_lijia' : '离家',
      'd_zaijia' : '在家',
      'd_ECO' : 'ECO',
      'd_jingyin' : '静音',
      'd_appxiaoxitixing' : 'APP消息提醒',
      'd_gaojingxiangqing' : '告警详情',
      'd_yidongzhence' : '移动侦测',
      'd_yidongzhenceshijianduanshezhi' : '移动侦测时间段设置',
      'd_baojingruzhi' : '报警录制',
      'd_lingmingdu' : '灵敏度',
      'd_di' : '低',
      'd_zhong' : '中',
      'd_gao' : '高',
      'd_shiqushezhi' : '时区设置',
      'd_fangqushezhi' : '防区设置',
      'd_sdkongjian' : 'SD卡空间',
      'd_geshihua' : '格式化',
      'd_xiugaibaojingming' : '修改报警名',
      'd_menkousuokaimenyanshi' : '门口锁开门延时',
      'd_qitaduijaing' : '其他对讲',
      'd_shineijisuoyanshi' : '室内机锁延时',
      'd_shijianshuiin' : '时间水印',
      'd_danxiangduijiang' : '单项对讲',
      'd_shaugnxiangduijiang' : '双向对讲',
      'd_qitaduijiang' : '其他对讲',
      'd_duijiangfangshi' : '对讲方式',
      'd_fenxiangshebei' : '分享设备',
      'd_tongbushebeishijain' : '同步设备时间',
      'd_tongbushebeishijaindata' : '同步设备时间以校准功能\n确认继续？',
      'd_chognqi' : '重启',
      'd_chognqishebei' : '重启设备',
      'd_chognqishebeidata' : '设备即将重启，是否继续？',
      'd_huifuchucangshezhi' : '恢复出厂设置',
      'd_huifuchucangshezhidata' : '所有数据将被永久删除\n确认继续吗？',
      'd_bagzhuzhognxin' : '帮助中心',
      'd_yifenxinagyonghu' : '已分享用户',
      'd_add' : '添加',
      'd_wuadd' : '暂无分享记录',
      'd_weizhiyonghu' : '未知用户',
      'd_shebeifenxiang' : '设备分享',
      'd_shurshoujihaohuoyonghuming' : '输入手机号或用户名',
      'd_sousuo' : '搜索',
      'd_kexuanrenyuan' : '可选人员',
      'd_shruuguanjianchi' : '请输入关键词搜索人员',
      'd_querenfenxiang' : '确认分享',


      's_500' : '获取数据500异常',
      's_get500' : '请求执行报错',
      's_not500' : '未知错误',
      's_update500' : '更新失败：',
      's_zaicidianjituichu' : '再次点击退出应用',


      'h_huifang' : '回放',
      'h_shezhi' : '设置',
      'h_zaixianfenxiang' : '在线 | 来自分享',
      'h_lixianfenxiang' : '离线 | 来自分享',
      'h_zaixian' : '在线',
      'h_lixian' : '离线',


      'shouye': '首页',
      'xiaoxi': '消息',
      'wode': '我的',

      'my_chognqiyingyong': '语言设置成功，正在重启APP，翻译功能未完全实现',
      'my_guanyuwomen': '关于我们',
      'my_xitongshezhi': '系统设置',
      'my_appbanbenhao': 'app版本号',
      'my_guanwang': '官网',
      'my_yonghushiyongxieyi': '用户使用协议',
      'my_yonghuyinsixieyi': '用户隐私协议',
      'my_zhanhaoshezhi': '账号设置',
      'my_touxiang': '头像',
      'my_nicheng': '昵称',
      'my_xiugainicheng': '修改昵称',
      'my_xiugainichengchenggong': '修改昵称成功',
      'my_xiugainichengshibai': '修改昵称失败',
      'my_xiugainichengdata': '最多输入20个字符，支持中英文、数字',
      'my_shoujihao': '手机号',
      'my_qubangding': '去绑定',
      'my_youxiang': '邮箱',
      'my_xiugaiyouxiang': '修改邮箱',
      'my_xiugaiyouxiangchenggong': '修改邮箱成功',
      'my_xiugaiyouxiangshibai': '修改邮箱失败',
      'my_xiugaiyouxiangdata': '最多输入20个字符',
      'my_denglumimaxiugai': '登录密码修改',
      'my_zhuxiaozhanghao': '注销账号',

      'lg_mimadengl': '密码登录',
      'lg_shiyongyanzhengmadenglu': '使用验证码登录',
      'lg_shuruzhanghao': '请输入手机号/用户名',
      'lg_shurumima': '请输入密码',
      'lg_yiyuedubingtingyi': '我已阅读并同意',
      'lg_yonghuxieyi': '《用户协议》',
      'lg_he': '和',
      'lg_yinsizhengce': '《隐私政策》',
      'lg_denglu': '登录',
      'lg_denglushibai': '登录失败',
      'lg_zhucezhanghao': '注册账号',
      'lg_wangjimima': '忘记密码',
      'lg_qitadneglufangshi': '其他登录方式',
      'lg_yanzhegnmadenglu': '验证码登录',
      'lg_qingshrushoujihao': '请输入手机号',
      'lg_qingshruyouxiaoshoujihao': '请输入有效手机号',
      'lg_qingshuruyanzhegnma': '请输入验证码',
      'lg_dengluhuozhucedengl': '登录或注册登录',
      'lg_huoquyanzhengma': '获取验证码',
      'lg_shezhimima': '设置密码',
      'lg_tijiao': '提交',
      'lg_mimachongzhi': '密码重置',
      'lg_qingchongxinshezhidenglumima': '请重新设置登录密码',
      'lg_qingtongyizhengce': '请同意用户协议和隐私政策',
      'lg_denglushibaiqingchongshi': '登录失败，请重试',
      'lg_dengluyichang': '登录异常',
      'lg_wangluocuowu': '网络错误，请检查网络连接',
      'lg_yanzhegnmacuowu': '验证码错误',
      'lg_weizhicuowu': '未知错误',
      'lg_geshihuadata': '格式化会清除SD卡全部数据！\n确认继续？',
      'lg_zhiliansuoshezhi': '直连锁设置',


      'appName': '应用程序',
      'confirm': '确认',
      'cancel': '取消',
      'submit': '提交',
      'loading': '加载中...',
      'error': '错误',
      'success': '成功',
      'systemSettings': '系统设置',
      'clearCache': '清理缓存',
      'languageSwitch': '语言切换',
      'logout': '退出登录',
      'chinese': '中文',
      'english': 'English',
      'login': '登录',
      'username': '用户名',
      'password': '密码',
      'forgetPassword': '忘记密码',
      'register': '注册',
    },
    'en': {


      'm_xinxiaoxi' : 'New Message',
      'm_xinxiaoxidata' : 'Open Message List',


      'd_zaixian' : 'Online',
      'd_lixian' : 'Offline',
      'd_shipinbofangcuowu' : 'Video Playback Error: ',
      'd_weizhicuowu' : 'Unknown Error',
      'd_shipinchuhsihaushibai' : 'Video Initialization Failed',
      'd_shipinjiazaishibai' : 'Video Loading Failed',
      'd_huoquyonghuyichang' : 'Abnormal User Data Retrieval',
      'd_jiazaishibai' : 'Loading Failed: ',
      'd_jiazaishujushibai' : 'Failed to Load Device Information',
      'd_chongshi' : 'Retry',
      'd_fangda' : 'Zoom In',
      'd_jieping' : 'Screenshot',
      'd_duijiang' : 'Intercom',
      'd_luping' : 'Screen Recording',
      'd_shezhi' : 'Settings',
      'd_kaisuo' : 'Unlock',
      'd_zhengzaihujiao' : 'Calling: ',
      'd_zhengzaibaochunjietu' : 'Saving Screenshot...',
      'd_jiepinquyuweizhunbeihao' : 'Screenshot Area Not Ready',
      'd_wufahuoqutuxiangshuju' : 'Failed to Retrieve Image Data',
      'd_jiepinshujuweikong' : 'Screenshot Data is Empty',
      'd_buzhidchipingtai' : 'Unsupported Platform',
      'd_wenjianbaochunweihbai' : 'File Saving Failed',
      'd_jietubaochunchenggongdata' : 'Screenshot Saved Successfully, Viewable in Photo Album',
      'd_jietubaochunchenggonggexxin' : 'Screenshot Saved, Photo Album Will Update Shortly',
      'd_jietubaochunchenggong' : 'Screenshot Saved Successfully',
      'd_jietubaochunshibai' : 'Screenshot Saving Failed',
      'd_kaisuoxinxiyifasong' : 'Unlock Message Sent',
      'd_kaihuifang' : 'Card Playback',
      'd_jiazaishebeixinxishibai' : 'Failed to Load Device Information',
      'd_chognshi' : 'Retry',
      'd_jietu' : 'Screenshot',
      'd_jianji' : 'Edit',
      'd_quanping' : 'Full Screen',
      'd_zanting' : 'Pause',
      'd_bofang' : 'Play',
      'd_fangkehujiao2' : 'Visitor Call',
      'd_yidongzhence2' : 'Motion Detection',
      'd_meitian' : 'Every Day',
      'd_zhoumo' : 'Weekends',
      'd_shijianduan' : 'Time Period',
      'd_baocun' : 'Save',
      'd_chongfu' : 'Repeat',
      'd_kaishishijain' : 'Start Time',
      'd_jieshushijain' : 'End Time',
      'd_xiaoxi' : 'Message',
      'd_youxiaoqi' : 'Validity Period',
      'd_yongjiuyouxiao' : 'Permanently Valid',
      'd_xuanzheriqi' : 'Select Date',
      'd_weixuanzhe' : 'Not Selected',
      'd_saomatianjia' : 'Add by Scanning QR Code',
      'd_tianjiashebei' : 'Add Device',
      'd_weishibieerweima' : 'QR Code Not Recognized',
      'd_shibieshibai' : 'Recognition Failed',
      'd_duizhunerweimashibei' : 'Align QR Code/Bar Code for Recognition',
      'd_duizhunerweimashibeidata' : 'Please scan the QR code on the device to add it',
      'd_shoudiantong' : 'Flashlight',
      'd_xiangce' : 'Photo Album',
      'd_tianjiashebei2' : 'Add Device',
      'd_peiwangzhuangtai' : 'Network',
      'd_tianjiashechuyu' : 'Search for nearby, please ensure ',
      'd_shoudongtianjia' : 'Manual Add',
      'd_zhinnegshexinagji' : 'Camera',
      'd_zhinengmenling' : 'Doorbell',
      'd_zhinengmenjinji' : 'Control',
      'd_zhinengshineiji' : 'Indoor Unit',
      'd_sdzhinnegshexinagji' : 'Manually Add Smart Camera',
      'd_sdzhinengmenling' : 'Add Smart Doorbell',
      'd_sdzhinengmenjinji' : 'Add Smart Control',
      'd_sdzhinengshineiji' : 'Add Smart Indoor Unit',
      'd_sdshebei' : 'Manually Add Device',
      'd_youxianpeiwang' : 'Network',
      'd_wifipeiwang' : 'WiFi',
      'd_xiayibu' : 'Next Step',
      'd_chongzhishebei' : 'Reset Device',
      'd_chongzhishebeidata' : 'Connect the device to power and link it to the home router, ensuring the mobile phone',
      'd_jietongdianyuandata' : 'Connect to power and confirm the indicator light is flashing rapidly or a prompt sound is heard',
      'd_wifidata' : 'If your WiFi is 5GHz, please set it to 2.4GHz first\n',
      'd_luyoufangfa' : 'Common Router Configuration Methods',

      'd_shebeishezhi' : 'Device Settings',
      'd_xiugaishebeiming' : 'Rename Device',
      'd_shebeixinxi' : 'Device Information',
      'd_banbengengxin' : 'Version Update',
      'd_baojindhezhi' : 'Alarm Settings',
      'd_bendicunchu' : 'Local Storage',
      'd_zhiliansuoshrzhi' : 'Direct Lock Settings',
      'd_duijiangshezhi' : 'Intercom Settings',
      'd_genduoshezhi' : 'More Settings',
      'd_yichushebei' : 'Remove Device',
      'd_yichushebeichenggong' : 'Removal Successful',
      'd_yichushebeishibai' : 'Removal Failed',
      'd_chaoshihuosheibai' : 'Operation Timed Out or Failed',
      'd_yichushebeiData' : 'You will no longer be able to use the device\'s functions after removal\nAre you sure you want to continue?',
      'd_shebeixinghao' : 'Device Model',
      'd_hujiaodizhi' : 'Call Address',
      'd_ipdizhi' : 'IP Address',
      'd_macdizhi' : 'MAC Address',
      'd_shebbeierweima' : 'Device QR Code',
      'd_shebbeiwangluo' : 'Device Network',
      'd_cunchukongjian' : 'Storage Space',
      'd_kong' : 'Empty',
      'd_shengyukongjian' : '(Remain/Total)',
      'd_yunxingshijian' : 'Running Time',
      'd_zaixianshijian' : 'Online Time',
      'd_banbenxinxi' : 'Version Information',
      'd_jianchagengxin' : 'Check for Updates',
      'd_yishizuixinbanben' : 'Latest Version',
      'd_baojingshezhi' : 'Alarm Settings',
      'd_weizhi' : 'Unknown',
      'd_iobaojing' : 'IO Alarm',
      'd_changgui' : 'Normal',
      'd_lvxing' : 'Travel',
      'd_lijia' : 'Away from Home',
      'd_zaijia' : 'At Home',
      'd_ECO' : 'ECO',
      'd_jingyin' : 'Mute',
      'd_appxiaoxitixing' : 'APP Notification Alert',
      'd_gaojingxiangqing' : 'Alarm Details',
      'd_yidongzhence' : 'Motion Detection',
      'd_yidongzhenceshijianduanshezhi' : 'Motion Detection Time Period Settings',
      'd_baojingruzhi' : 'Alarm Recording',
      'd_lingmingdu' : 'Sensitivity',
      'd_di' : 'Low',
      'd_zhong' : 'Medium',
      'd_gao' : 'High',
      'd_shiqushezhi' : 'Time Zone Settings',
      'd_fangqushezhi' : 'Defense Zone Settings',
      'd_sdkongjian' : 'SD Card Space',
      'd_geshihua' : 'Format',
      'd_xiugaibaojingming' : 'Rename Alarm',
      'd_menkousuokaimenyanshi' : 'Entrance Lock Unlocking Delay',
      'd_qitaduijaing' : 'Other Intercoms',
      'd_shineijisuoyanshi' : 'Indoor Unit Lock Delay',
      'd_shijianshuiin' : 'Time Watermark',
      'd_danxiangduijiang' : 'One-Way Intercom',
      'd_shaugnxiangduijiang' : 'Two-Way Intercom',
      'd_qitaduijiang' : 'Other Intercoms',
      'd_duijiangfangshi' : 'Intercom Mode',
      'd_fenxiangshebei' : 'Share Device',
      'd_tongbushebeishijain' : 'Synchronize Device Time',
      'd_tongbushebeishijaindata' : 'Synchronize device time to calibrate functions\nConfirm to continue?',
      'd_chognqi' : 'Restart',
      'd_chognqishebei' : 'Restart Device',
      'd_chognqishebeidata' : 'The device will restart soon, do you want to continue?',
      'd_huifuchucangshezhi' : 'Restore Factory Settings',
      'd_huifuchucangshezhidata' : 'All data will be permanently deleted\nAre you sure you want to continue?',
      'd_bagzhuzhognxin' : 'Help Center',
      'd_yifenxinagyonghu' : 'Shared Users',
      'd_add' : 'Add',
      'd_wuadd' : 'No Sharing Records Yet',
      'd_weizhiyonghu' : 'Unknown User',
      'd_shebeifenxiang' : 'Device Sharing',
      'd_shurshoujihaohuoyonghuming' : 'Enter Phone Number or Username',
      'd_sousuo' : 'Search',
      'd_kexuanrenyuan' : 'Selectable Personnel',
      'd_shruuguanjianchi' : 'Please Enter Keywords to Search for Personnel',
      'd_querenfenxiang' : 'Confirm Sharing',



      's_500' : '500 Error in Data Retrieval',
      's_get500' : 'Request Execution Error',
      's_not500' : 'Unknown Error',
      's_update500' : 'Update Failed: ',
      's_zaicidianjituichu ':' Click again to exit the application ',

      'my_guanyuwomen': 'About Us',
      'my_xitongshezhi': 'System Settings',
      'shouye': 'Home',
      'xiaoxi': 'Messages',
      'wode': 'My Profile',


      'h_huifang' : 'Playback',
      'h_shezhi' : 'Settings',
      'h_zaixianfenxiang' : 'Online | From Sharing',
      'h_lixianfenxiang' : 'Offline | From Sharing',
      'h_zaixian' : 'Online',
      'h_lixian' : 'Offline',

      'my_chognqiyingyong': 'Language settings successful, restarting the APP',
      'my_appbanbenhao': 'App Version Number',
      'my_guanwang': 'Official',
      'my_yonghushiyongxieyi': 'User Service Agreement',
      'my_yonghuyinsixieyi': 'User Privacy Agreement',
      'my_zhanhaoshezhi': 'Account Settings',
      'my_touxiang': 'Avatar',
      'my_nicheng': 'Nickname',
      'my_xiugainicheng': 'Edit Nickname',
      'my_xiugainichengchenggong': 'Nickname Modified Successfully',
      'my_xiugainichengshibai': 'Nickname Modification Failed',
      'my_xiugainichengdata': 'Maximum 20 characters allowed, supporting Chinese, English and numbers',
      'my_shoujihao': 'Phone Number',
      'my_qubangding': 'Go to Bind',
      'my_youxiang': 'Email',
      'my_xiugaiyouxiang': 'Edit Email',
      'my_xiugaiyouxiangchenggong': 'Email Modified Successfully',
      'my_xiugaiyouxiangshibai': 'Email Modification Failed',
      'my_xiugaiyouxiangdata': 'Maximum 20 characters allowed',
      'my_denglumimaxiugai': 'Change Login Password',
      'my_zhuxiaozhanghao': 'Cancel Account',

      'lg_mimadengl': 'Password Login',
      'lg_shiyongyanzhengmadenglu': 'Login with Verification Code',
      'lg_shuruzhanghao': 'Phone Number/Username',
      'lg_shurumima': 'Please Enter Password',
      'lg_yiyuedubingtingyi': 'I Have Read and Agree to',
      'lg_yonghuxieyi': '《User Agreement》',
      'lg_he': 'and',
      'lg_yinsizhengce': '《Privacy Policy》',
      'lg_denglu': 'Login',
      'lg_denglushibai': 'Login Failed',
      'lg_zhucezhanghao': 'Register Account',
      'lg_wangjimima': 'Forgot Password',
      'lg_qitadneglufangshi': 'Other Login Methods',
      'lg_yanzhegnmadenglu': 'Verification Code Login',
      'lg_qingshrushoujihao': 'Phone Number',
      'lg_qingshruyouxiaoshoujihao': 'Valid Phone Number',
      'lg_qingshuruyanzhegnma': 'Verification Code',
      'lg_dengluhuozhucedengl': 'Login or Register to Login',
      'lg_huoquyanzhengma': 'Get Verification Code',
      'lg_shezhimima': 'Set Password',
      'lg_tijiao': 'Submit',
      'lg_mimachongzhi': 'Password Reset',
      'lg_qingchongxinshezhidenglumima': 'Reset Login Password',
      'lg_qingtongyizhengce': 'Please Agree to User Agreement and Privacy Policy',
      'lg_denglushibaiqingchongshi': 'Login Failed, Please Try Again',
      'lg_dengluyichang': 'Abnormal Login',
      'lg_wangluocuowu': 'Network Error, Please Check Network Connection',
      'lg_yanzhegnmacuowu': 'Incorrect Verification Code',
      'lg_weizhicuowu': 'Unknown Error',


      'appName': 'Application',
      'confirm': 'Confirm',
      'cancel': 'Cancel',
      'submit': 'Submit',
      'loading': 'Loading...',
      'error': 'Error',
      'success': 'Success',
      'systemSettings': 'System Settings',
      'clearCache': 'Clear Cache',
      'languageSwitch': 'Language Switch',
      'logout': 'Logout',
      'chinese': '中文',
      'english': 'English',
      'login': 'Login',
      'username': 'Username',
      'password': 'Password',
      'forgetPassword': 'Forgot Password',
      'register': 'Register',
    },
  };

  // 获取本地化文本的方法
  static String text(String key) {
    String currentLocale = LocaleProvider.instance.currentLocale;
    return _localizedValues[currentLocale]?[key] ??
        _localizedValues['en']?[key] ??
        key;
  }

  static List<String> get allKeys => _localizedValues['zh']?.keys.toList() ?? [];
}
